package com.elephant.bean.selfBeanFactoryPostProcessor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor;

/**
 * @author 林
 * @create 2025-05-27 15:59
 */
public class MySelfBeanDefinitionRegistryPostProcessor  implements BeanDefinitionRegistryPostProcessor {
	@Override
	public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
		System.out.println("-------------------------------------------");
		System.out.println("postProcessBeanFactory-------MySelfBeanDefinitionRegistryPostProcessor");
	}

	@Override
	public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) throws BeansException {
		System.out.println("-------------------------------------------");
		System.out.println("postProcessBeanFactory-------MySelfBeanDefinitionRegistryPostProcessor");
	}
}
